package com.tinycloud.miracll.product.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 生产指令对象 生产指令记录表_主表
 * 
 * @author tiny
 * @date 2022-05-25
 */
public class ProductInstructionMain extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 指令填报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "指令填报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fillTime;

    /** 指令编号 */
    private String instNum;

    /** 生产订单号 */
    @Excel(name = "生产订单号")
    private String orderNum;

    /** 订单用途 */
    @Excel(name = "订单用途")
    private String orderForDesc;

    /** 产线代码 */
    @Excel(name = "产线代码")
    private String lineCode;

    /** 物资编码 */
    @Excel(name = "物资编码")
    private String materCode;

    /** 品管号 */
    @Excel(name = "品管号")
    private String qcNum;

    /** 批号 */
    @Excel(name = "批号")
    private String batchNum;

    /** 包装码 */
    @Excel(name = "包装码")
    private String packNum;

    /** 订单量 */
    @Excel(name = "订单量")
    private BigDecimal orderAmount;

    /** 入库成品量 */
    @Excel(name = "入库成品量")
    private BigDecimal productAmount;

    /** 工艺注意 */
    @Excel(name = "工艺注意")
    private String processReq;

    /** SAP同步状态 */
    @Excel(name = "SAP同步状态")
    private String sapStatus;

    /** 关闭指令表 */
    @Excel(name = "关闭指令表")
    private String closeStatus;

    /** $column.columnComment */
    @Excel(name = "关闭指令表")
    private String excelserverrcid;

    /** $column.columnComment */
    @Excel(name = "关闭指令表")
    private Long excelserverrn;

    /** $column.columnComment */
    @Excel(name = "关闭指令表")
    private Long excelservercn;

    /** $column.columnComment */
    @Excel(name = "关闭指令表")
    private String excelserverrc1;

    /** $column.columnComment */
    @Excel(name = "关闭指令表")
    private String excelserverwiid;

    /** $column.columnComment */
    @Excel(name = "关闭指令表")
    private String excelserverrtid;

    /** $column.columnComment */
    @Excel(name = "关闭指令表")
    private Long excelserverchg;

    /** SCADA同步状态 */
    @Excel(name = "SCADA同步状态")
    private String scadaStatus;

    /** 釜位 */
    @Excel(name = "釜位")
    private String kettlePosit;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 预计产量 */
    @Excel(name = "预计产量")
    private BigDecimal producExpe;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private String productType;

    /** 装置 */
    @Excel(name = "装置")
    private String device;

    /** 关闭时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "关闭时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date closeTime;

    /** 开车料量 */
    @Excel(name = "开车料量")
    private BigDecimal drivingMaterAmount;

    /** 成品率 */
    @Excel(name = "成品率")
    private BigDecimal productYield;

    /** 机头料量 */
    @Excel(name = "机头料量")
    private BigDecimal jitouYield;

    /** 收率 */
    @Excel(name = "收率")
    private BigDecimal percentYield;

    /** 关闭人 */
    @Excel(name = "关闭人")
    private String closeUser;

    /** 大片率 */
    @Excel(name = "大片率")
    private BigDecimal dapianYield;

    /** 开车料率 */
    @Excel(name = "开车料率")
    private BigDecimal kaicheYield;

    /** 产线状态 */
    @Excel(name = "产线状态")
    private String lineStatus;

    /** 料仓序号 */
    @Excel(name = "料仓序号")
    private String kettlePositNum;

    /** 牌号 */
    @Excel(name = "牌号")
    private String materialMark;

    /** 定制标签 */
    @Excel(name = "定制标签")
    private String customLabels;

    /** 单件体积 */
    @Excel(name = "单件体积")
    private Long MonomerVolume;

    /** 研发实验 */
    @Excel(name = "研发实验")
    private String develStatus;

    /** SCADA生产时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "SCADA生产时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scadaBeginTime;

    /** SCADA结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "SCADA结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scadaEndTime;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String orgName;

    /** 机构编号 */
    @Excel(name = "机构编号")
    private String orgNum;

    /** 定制商标类别 */
    @Excel(name = "定制商标类别")
    private String customTrademarksType;

    /** 生产指令信息 */
    private List<ProductInstructionDetail> productInstructionDetailList;

    public void setFillTime(Date fillTime){
        this.fillTime = fillTime;
    }

    public Date getFillTime(){
        return fillTime;
    }
    public void setInstNum(String instNum){
        this.instNum = instNum;
    }

    public String getInstNum(){
        return instNum;
    }
    public void setOrderNum(String orderNum){
        this.orderNum = orderNum;
    }

    public String getOrderNum(){
        return orderNum;
    }
    public void setOrderForDesc(String orderForDesc){
        this.orderForDesc = orderForDesc;
    }

    public String getOrderForDesc(){
        return orderForDesc;
    }
    public void setLineCode(String lineCode){
        this.lineCode = lineCode;
    }

    public String getLineCode(){
        return lineCode;
    }
    public void setMaterCode(String materCode){
        this.materCode = materCode;
    }

    public String getMaterCode(){
        return materCode;
    }
    public void setQcNum(String qcNum){
        this.qcNum = qcNum;
    }

    public String getQcNum(){
        return qcNum;
    }
    public void setBatchNum(String batchNum){
        this.batchNum = batchNum;
    }

    public String getBatchNum(){
        return batchNum;
    }
    public void setPackNum(String packNum){
        this.packNum = packNum;
    }

    public String getPackNum(){
        return packNum;
    }
    public void setOrderAmount(BigDecimal orderAmount){
        this.orderAmount = orderAmount;
    }

    public BigDecimal getOrderAmount(){
        return orderAmount;
    }
    public void setProductAmount(BigDecimal productAmount){
        this.productAmount = productAmount;
    }

    public BigDecimal getProductAmount(){
        return productAmount;
    }
    public void setProcessReq(String processReq){
        this.processReq = processReq;
    }

    public String getProcessReq(){
        return processReq;
    }
    public void setSapStatus(String sapStatus){
        this.sapStatus = sapStatus;
    }

    public String getSapStatus(){
        return sapStatus;
    }
    public void setCloseStatus(String closeStatus){
        this.closeStatus = closeStatus;
    }

    public String getCloseStatus(){
        return closeStatus;
    }
    public void setExcelserverrcid(String excelserverrcid){
        this.excelserverrcid = excelserverrcid;
    }

    public String getExcelserverrcid(){
        return excelserverrcid;
    }
    public void setExcelserverrn(Long excelserverrn){
        this.excelserverrn = excelserverrn;
    }

    public Long getExcelserverrn(){
        return excelserverrn;
    }
    public void setExcelservercn(Long excelservercn){
        this.excelservercn = excelservercn;
    }

    public Long getExcelservercn(){
        return excelservercn;
    }
    public void setExcelserverrc1(String excelserverrc1){
        this.excelserverrc1 = excelserverrc1;
    }

    public String getExcelserverrc1(){
        return excelserverrc1;
    }
    public void setExcelserverwiid(String excelserverwiid){
        this.excelserverwiid = excelserverwiid;
    }

    public String getExcelserverwiid(){
        return excelserverwiid;
    }
    public void setExcelserverrtid(String excelserverrtid){
        this.excelserverrtid = excelserverrtid;
    }

    public String getExcelserverrtid(){
        return excelserverrtid;
    }
    public void setExcelserverchg(Long excelserverchg){
        this.excelserverchg = excelserverchg;
    }

    public Long getExcelserverchg(){
        return excelserverchg;
    }
    public void setScadaStatus(String scadaStatus){
        this.scadaStatus = scadaStatus;
    }

    public String getScadaStatus(){
        return scadaStatus;
    }
    public void setKettlePosit(String kettlePosit){
        this.kettlePosit = kettlePosit;
    }

    public String getKettlePosit(){
        return kettlePosit;
    }
    public void setOrderStatus(String orderStatus){
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus(){
        return orderStatus;
    }
    public void setProducExpe(BigDecimal producExpe){
        this.producExpe = producExpe;
    }

    public BigDecimal getProducExpe(){
        return producExpe;
    }
    public void setProductType(String productType){
        this.productType = productType;
    }

    public String getProductType(){
        return productType;
    }
    public void setDevice(String device){
        this.device = device;
    }

    public String getDevice(){
        return device;
    }
    public void setCloseTime(Date closeTime){
        this.closeTime = closeTime;
    }

    public Date getCloseTime(){
        return closeTime;
    }
    public void setDrivingMaterAmount(BigDecimal drivingMaterAmount){
        this.drivingMaterAmount = drivingMaterAmount;
    }

    public BigDecimal getDrivingMaterAmount(){
        return drivingMaterAmount;
    }
    public void setProductYield(BigDecimal productYield){
        this.productYield = productYield;
    }

    public BigDecimal getProductYield(){
        return productYield;
    }
    public void setJitouYield(BigDecimal jitouYield){
        this.jitouYield = jitouYield;
    }

    public BigDecimal getJitouYield(){
        return jitouYield;
    }
    public void setPercentYield(BigDecimal percentYield){
        this.percentYield = percentYield;
    }

    public BigDecimal getPercentYield(){
        return percentYield;
    }
    public void setCloseUser(String closeUser){
        this.closeUser = closeUser;
    }

    public String getCloseUser(){
        return closeUser;
    }
    public void setDapianYield(BigDecimal dapianYield){
        this.dapianYield = dapianYield;
    }

    public BigDecimal getDapianYield(){
        return dapianYield;
    }
    public void setKaicheYield(BigDecimal kaicheYield){
        this.kaicheYield = kaicheYield;
    }

    public BigDecimal getKaicheYield(){
        return kaicheYield;
    }
    public void setLineStatus(String lineStatus){
        this.lineStatus = lineStatus;
    }

    public String getLineStatus(){
        return lineStatus;
    }
    public void setKettlePositNum(String kettlePositNum){
        this.kettlePositNum = kettlePositNum;
    }

    public String getKettlePositNum(){
        return kettlePositNum;
    }
    public void setMaterialMark(String materialMark){
        this.materialMark = materialMark;
    }

    public String getMaterialMark(){
        return materialMark;
    }
    public void setCustomLabels(String customLabels){
        this.customLabels = customLabels;
    }

    public String getCustomLabels(){
        return customLabels;
    }
    public void setMonomerVolume(Long MonomerVolume){
        this.MonomerVolume = MonomerVolume;
    }

    public Long getMonomerVolume(){
        return MonomerVolume;
    }
    public void setDevelStatus(String develStatus){
        this.develStatus = develStatus;
    }

    public String getDevelStatus(){
        return develStatus;
    }
    public void setScadaBeginTime(Date scadaBeginTime){
        this.scadaBeginTime = scadaBeginTime;
    }

    public Date getScadaBeginTime(){
        return scadaBeginTime;
    }
    public void setScadaEndTime(Date scadaEndTime){
        this.scadaEndTime = scadaEndTime;
    }

    public Date getScadaEndTime(){
        return scadaEndTime;
    }
    public void setOrgName(String orgName){
        this.orgName = orgName;
    }

    public String getOrgName(){
        return orgName;
    }
    public void setOrgNum(String orgNum){
        this.orgNum = orgNum;
    }

    public String getOrgNum(){
        return orgNum;
    }
    public void setCustomTrademarksType(String customTrademarksType){
        this.customTrademarksType = customTrademarksType;
    }

    public String getCustomTrademarksType(){
        return customTrademarksType;
    }

    public List<ProductInstructionDetail> getProductInstructionDetailList(){
        return productInstructionDetailList;
    }

    public void setProductInstructionDetailList(List<ProductInstructionDetail> productInstructionDetailList){
        this.productInstructionDetailList = productInstructionDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fillTime", getFillTime())
            .append("instNum", getInstNum())
            .append("orderNum", getOrderNum())
            .append("orderForDesc", getOrderForDesc())
            .append("lineCode", getLineCode())
            .append("materCode", getMaterCode())
            .append("qcNum", getQcNum())
            .append("batchNum", getBatchNum())
            .append("packNum", getPackNum())
            .append("orderAmount", getOrderAmount())
            .append("productAmount", getProductAmount())
            .append("processReq", getProcessReq())
            .append("sapStatus", getSapStatus())
            .append("closeStatus", getCloseStatus())
            .append("excelserverrcid", getExcelserverrcid())
            .append("excelserverrn", getExcelserverrn())
            .append("excelservercn", getExcelservercn())
            .append("excelserverrc1", getExcelserverrc1())
            .append("excelserverwiid", getExcelserverwiid())
            .append("excelserverrtid", getExcelserverrtid())
            .append("excelserverchg", getExcelserverchg())
            .append("scadaStatus", getScadaStatus())
            .append("kettlePosit", getKettlePosit())
            .append("orderStatus", getOrderStatus())
            .append("producExpe", getProducExpe())
            .append("productType", getProductType())
            .append("device", getDevice())
            .append("closeTime", getCloseTime())
            .append("drivingMaterAmount", getDrivingMaterAmount())
            .append("productYield", getProductYield())
            .append("jitouYield", getJitouYield())
            .append("percentYield", getPercentYield())
            .append("closeUser", getCloseUser())
            .append("dapianYield", getDapianYield())
            .append("kaicheYield", getKaicheYield())
            .append("lineStatus", getLineStatus())
            .append("kettlePositNum", getKettlePositNum())
            .append("materialMark", getMaterialMark())
            .append("customLabels", getCustomLabels())
            .append("MonomerVolume", getMonomerVolume())
            .append("develStatus", getDevelStatus())
            .append("scadaBeginTime", getScadaBeginTime())
            .append("scadaEndTime", getScadaEndTime())
            .append("orgName", getOrgName())
            .append("orgNum", getOrgNum())
            .append("customTrademarksType", getCustomTrademarksType())
            .append("productInstructionDetailList", getProductInstructionDetailList())
            .toString();
    }
}
